package com.lh0811.forge.pserv.basic.server.service;

import com.github.pagehelper.PageInfo;
import com.lh0811.forge.pserv.basic.api.param.CommBizNoCreateParam;
import com.lh0811.forge.pserv.basic.api.param.CommBizNoUpdateParam;
import com.lh0811.forge.pserv.basic.api.param.CommonBizNoQueryListParam;
import com.lh0811.forge.pserv.basic.api.param.CommonBizNoQueryPageParam;
import com.lh0811.forge.pserv.basic.api.vo.CommBizNoVo;

import java.util.List;

public interface BizNoService {

    /**
     * 查询业务编号列表(分页)
     */
    PageInfo<CommBizNoVo> queryBizNoPageList(CommonBizNoQueryPageParam param) throws Exception;

    /**
     * 查询业务编号列表
     */
    List<CommBizNoVo> queryBizNoList(CommonBizNoQueryListParam param) throws Exception;

    /**
     * 创建业务编号记录
     */
    void createBizNo(CommBizNoCreateParam param) throws Exception;


    /**
     * 修改业务编号记录
     */
    void editBizNo(CommBizNoUpdateParam param) throws Exception;


    /**
     * 删除业务编号记录
     */
    void deleteBizNo(Long bizNoId) throws Exception;
}
